package com.cn.springcloudwechat.service.attachment;

import com.cn.springcloudwechat.model.attachment.YmAttachment;

import java.util.List;

/**
 * @author: Administrator
 * @create: 2018/8/10 10:08
 */
public interface YmAttachmentService {
    /**
     *  添加附件表数据及业务附件关联关系
     * @param ymAttachments
     * @param relevanceId
     * @param relevanceTpyeId
     * @return
     */
    public int insertAttachmentAndRelevance(List<YmAttachment> ymAttachments, Long  relevanceId, String relevanceTpyeId);
}
